package com.zwj.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 需要/不需要登录验证的请求path
 *
 * @author 张文接
 * @version 1.0
 * @createTime 2024-07-21 15:30:55
 */
@Data
@Component
@ConfigurationProperties(prefix = "hm.auth")
public class AuthProperties {
    /**
     * 需要验证
     */
    private List<String> includePaths;
    /**
     * 无需验证
     */
    private List<String> excludePaths;
}
